package com.cmos.um;

import com.cmos.common.annotation.EnableDataSource;
import com.cmos.common.annotation.EnableTransaction;
import com.cmos.common.spring.ApplicationStarter;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.Scheduled;

@SpringBootApplication
@EnableAutoConfiguration
@EnableDataSource
@EnableTransaction
@EnableAspectJAutoProxy
public class ServiceApplication {

    public static void main(String[] args) throws Exception {
        ApplicationStarter.startApplication(ServiceApplication.class, args);
    }

}
